# 基础镜像
FROM  openjdk:8-jre
# author
MAINTAINER thinglinks

# 挂载目录
VOLUME /www/wwwroot/thinglinks/thinglinks-server
# 创建目录
RUN mkdir -p /www/wwwroot/thinglinks/thinglinks-server
# 指定路径
WORKDIR /www/wwwroot/thinglinks/thinglinks-server
# 复制jar文件到路径
COPY ./jar/thinglinks-modules-protocolAnalysis.jar /thinglinks-modules-protocolAnalysis.jar
# 启动protocolAnalysis服务
ENTRYPOINT ["java", "-Xmx200m", "-Xms200m", "-jar", "/thinglinks-modules-protocolAnalysis.jar"]